package com.ledi.pay.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

/**
 * ALIPAY API: alipay.fund.coupon.order.disburse response.
 * 
 * @author auto create
 * @since 1.0, 2018-05-21 16:49:08
 */
@Data
@Entity
@Table(name = "t_alipay_fundcouponorderdisburse")
public class AlipayFundCouponOrderDisburse implements Serializable {

	/**
	 * 字段描述: [字段功能描述]
	 */
	private static final long serialVersionUID = -7293229356956442737L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	/**
	 * 本次支付的金额，单位为：元（人民币），精确到小数点后两位
	 */
	@Column(name = "amount")
	private String amount;

	/**
	 * 支付宝的资金授权订单号
	 */
	@Column(name = "auth_no")
	private String authNo;

	/**
	 * 资金授权成功时间
	 * 格式：YYYY-MM-DD HH:MM:SS
	 */
	@Column(name = "gmt_trans")
	private Date gmtTrans;

	/**
	 * 支付宝的资金操作流水号
	 */
	@Column(name = "operation_id")
	private String operationId;

	/**
	 * 商户的授权资金订单号
	 */
	@Column(name = "out_order_no")
	private String outOrderNo;

	/**
	 * 商户本次资金操作的请求流水号
	 */
	@Column(name = "out_request_no")
	private String outRequestNo;

	/**
	 * 资金预授权明细的状态
	 * 目前支持： INIT：初始
	 * SUCCESS: 成功
	 * CLOSED：关闭
	 */
	@Column(name = "status")
	private String status;

	public void setAmount(String amount) {

		this.amount = amount;
	}

	public String getAmount() {

		return amount;
	}

	public void setAuthNo(String authNo) {

		this.authNo = authNo;
	}

	public String getAuthNo() {

		return authNo;
	}

	public void setGmtTrans(Date gmtTrans) {

		this.gmtTrans = gmtTrans;
	}

	public Date getGmtTrans() {

		return gmtTrans;
	}

	public void setOperationId(String operationId) {

		this.operationId = operationId;
	}

	public String getOperationId() {

		return operationId;
	}

	public void setOutOrderNo(String outOrderNo) {

		this.outOrderNo = outOrderNo;
	}

	public String getOutOrderNo() {

		return outOrderNo;
	}

	public void setOutRequestNo(String outRequestNo) {

		this.outRequestNo = outRequestNo;
	}

	public String getOutRequestNo() {

		return outRequestNo;
	}

	public void setStatus(String status) {

		this.status = status;
	}

	public String getStatus() {

		return status;
	}

}
